<?php
 
defined( '_JEXEC' ) or die( 'Restricted access' );
 
jimport( 'joomla.application.component.view');
 
class NvViewrestoran extends JView
{
    function display($tpl = null)
    {
        JToolBarHelper::preferences('com_nv', '400');
		JToolBarHelper::title( JText::_( 'Data Restoran' ), 'generic.png' );
        JToolBarHelper::deleteList();
        JToolBarHelper::editListX();
        JToolBarHelper::addNewX();

					JSubMenuHelper::addEntry( '<span class="editlinktip hasTip" title="'.JText::_( 'Objek Pariwisata' ).'::'.JText::_('Data-Data Pariwisata').'">'.JText::_( 'Objek Pariwisata' ).'</span>', 'index.php?option=com_nv&controller=objek');
			JSubMenuHelper::addEntry( '<span class="editlinktip hasTip" title="'.JText::_( 'Master Propinsi' ).'::'.JText::_('Master Data Propinsi').'">'.JText::_( 'Master Propinsi' ).'</span>', 'index.php?option=com_nv&controller=propinsi');
			JSubMenuHelper::addEntry( '<span class="editlinktip hasTip" title="'.JText::_( 'Master Kota' ).'::'.JText::_('Master Data Kota').'">'.JText::_( 'Master Kota' ).'</span>', 'index.php?option=com_nv&controller=kota');
			JSubMenuHelper::addEntry( '<span class="editlinktip hasTip" title="'.JText::_( 'Input Hotel' ).'::'.JText::_('Input Data Hotel').'">'.JText::_( 'Input Hotel' ).'</span>', 'index.php?option=com_nv&controller=form');
			JSubMenuHelper::addEntry( '<span class="editlinktip hasTip" title="'.JText::_( 'Input Restoran' ).'::'.JText::_('Input Data Restoran').'">'.JText::_( 'Input Restoran' ).'</span>', 'index.php?option=com_nv&controller=formrestoran',true);
			JSubMenuHelper::addEntry( '<span class="editlinktip hasTip" title="'.JText::_( 'Data Api Key' ).'::'.JText::_('Data Api Key').'">'.JText::_( 'Data Api Key' ).'</span>', 'index.php?option=com_nv&controller=apikey');

		$xml =& $this->get( 'DatasCurl'); 
		$this->assignRef('items',$xml);

 
        parent::display($tpl);
    }
}